﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OA.DBUtility;

namespace OA.Model
{
    [MappingTable("ContractsSubject")]
    public class ContractsSubjectInfo
    {
        #region Model
        private int _id;
        private string _contractid;
        private string _codename;
        private string _contractsname;
        /// <summary>
        /// 
        /// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("ContractId")]
        public string ContractId
        {
            set { _contractid = value; }
            get { return _contractid; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("CodeName")]
        public string CodeName
        {
            set { _codename = value; }
            get { return _codename; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("ContractsName")]
        public string ContractsName
        {
            set { _contractsname = value; }
            get { return _contractsname; }
        }
        #endregion Model
    }
}
